package trunk.component;

/**
 * enum for the Status of each component
 * Created by IntelliJ IDEA.
 * User: yipeipei
 * Date: 12/5/11
 * Time: 6:26 PM
 * To change this template use File | Settings | File Templates.
 */
public enum Status {
    NORMAL("normal", "-1"),
    ACTIVE("active", "10"),
    UNDEFINED("undefined", "-1");

    private String description;
    private String timeRemaining;


    Status(String desc, String timeRemain) {
        this.description = desc;
        this.timeRemaining = timeRemain;
    }

    public String getDescription() {
        return this.description;
    }

    public String getTimeRemaining() {
        return this.timeRemaining;
    }

}
